package xyz.syyrjx.blog.entity;

public class Tool {
    private Long id;
    private String name;
    private String description;
    private Integer view;
    private String path;
    private String picture;

    public Tool(){}

    public Tool(Long id, String name, String description, Integer view, String path, String picture) {
        this.id = id;
        this.name = name;
        this.description = description;
        this.view = view;
        this.path = path;
        this.picture = picture;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getPath() {
        return path;
    }

    public void setPath(String path) {
        this.path = path;
    }

    public String getPicture() {
        return picture;
    }

    public void setPicture(String picture) {
        this.picture = picture;
    }

    public Integer getView() {
        return view;
    }

    public void setView(Integer view) {
        this.view = view;
    }

    @Override
    public String toString() {
        return "Tool{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", description='" + description + '\'' +
                ", view=" + view +
                ", path='" + path + '\'' +
                ", picture='" + picture + '\'' +
                '}';
    }
}
